package com.fouram.core.enums;

/**
 * 接口返回状态码
 */
public enum HttpCodeEnum {

	SUCCESS(200, "成功"),
	NOT_LOGIN(401, "NotLogin"),
	FAIL(500, "失败");

	private Integer code;
	private String name;

	private HttpCodeEnum(Integer code, String name) {
		this.code = code;
		this.name = name;
	}

	public Integer getCode() {
		return code;
	}

	public String getName() {
		return name;
	}
}